import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
class NetworkProvider with ChangeNotifier,DiagnosticableTreeMixin {

  bool isConnectNetwork = false;

  void changeNetworkState (bool isConnectNetwork){
    this.isConnectNetwork = isConnectNetwork;

    Future.delayed(Duration.zero,()=>notifyListeners());
  }

}